/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sistemataller;

import maestros.*;
import java.awt.*;
import javax.swing.*;
 import  javax.swing.UIManager. *;

/**
 *
 * @author Luis García
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here





        try {
            for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (Exception e) {
            // If Nimbus is not available, you can set the GUI to another look and feel.
        }


        Dimension pantalla = Toolkit.getDefaultToolkit().getScreenSize();
        int height = 230;
        int width = pantalla.width / 3;

        Login login = new Login();
        login.setSize(width, height);
        login.setLocationRelativeTo(null);


        login.setVisible(true);
    }
}
